
package com.idealighter.game.shop.message;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ReqMsg;
import com.idealighter.game.message.core.ReqMessage;

import lombok.Data;

/**
 * 购买物品.
 *
 */
@ReqMsg(103101)
@Data
public class ReqBuyItemMsg implements ReqMessage {
  @Protobuf(order = 1)
  private int id = 103101;
  // 物品id
  @Protobuf(order = 2)
  private int itemId;
  // 物品数量
  @Protobuf(order = 3)
  private int num;
  // 货币类型(1:元宝,2:金币)
  @Protobuf(order = 4)
  private int moneyType;
}
